package com.woniuxy.orderServer.service;

import com.woniuxy.orderServer.dto.order.OrderInfoCreateDto;
import com.woniuxy.orderServer.model.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.orderServer.param.order.OrderCreatParam;

import java.util.HashMap;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年03月20日
 */
public interface OrderInfoService extends IService<OrderInfo> {

    OrderInfoCreateDto createOrder(OrderCreatParam param) throws Exception;

    String payOrder(String orderNum) throws Exception;

    void payNotify(HashMap<String, String> params) throws Exception;
}
